package com.ruoyi.project.system.userCoachBind.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 学员教练绑定表 sys_user_coach_bind
 * 
 * @author zhangshilin
 * @date 2019-07-26
 */
public class UserCoachBind extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 学员id */
	private Integer userid;
	/** 教练id */
	private Integer coachid;
	/** 绑定时间 */
	private Date createdtime;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setUserid(Integer userid) 
	{
		this.userid = userid;
	}

	public Integer getUserid() 
	{
		return userid;
	}
	public void setCoachid(Integer coachid) 
	{
		this.coachid = coachid;
	}

	public Integer getCoachid() 
	{
		return coachid;
	}
	public void setCreatedtime(Date createdtime) 
	{
		this.createdtime = createdtime;
	}

	public Date getCreatedtime() 
	{
		return createdtime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userid", getUserid())
            .append("coachid", getCoachid())
            .append("createdtime", getCreatedtime())
            .toString();
    }
}
